package com.example.seckill.service.model;

import lombok.Data;

import java.math.BigDecimal;

@Data
//id 用户id 商品id 数量 金额 单价(冗余)
public class OrderModel {
    private String id;
    private Integer userId;
    private Integer itemId;
    private Integer amount;
    private BigDecimal itemPrice;
    private BigDecimal orderPrice;
    private Integer promoId;
}
